//
//  HWCurrencySelectCell.h
//  HuaWan
//
//  Created by HuaWan on 2022.
//  Copyright © 2022年 HuaWan. All rights reserved.
//

#import "BaseTableViewCell.h"

@class HWCurrencySelectCell;
@class HWCurrencySelectCellModel;

@protocol HWCurrencySelectCellDelegate <NSObject>

- (void)currencySelectCell:(HWCurrencySelectCell *)cell button:(UIButton *)sender;

@end

@interface HWCurrencySelectCell : BaseTableViewCell

@property (nonatomic,weak) id<HWCurrencySelectCellDelegate> delegate;
@property (weak, nonatomic) IBOutlet UIView *myView;
@property (weak, nonatomic) IBOutlet NSLayoutConstraint *viewTop;
@property (weak, nonatomic) IBOutlet NSLayoutConstraint *viewBottom;
@property (weak, nonatomic) IBOutlet UILabel *titleLabel;
@property (weak, nonatomic) IBOutlet UILabel *lineLabel;
@property (strong, nonatomic) HWCurrencySelectCellModel *model;

@end



#pragma mark - Model

@interface HWCurrencySelectCellModel : NSObject

@property (nonatomic,copy) NSString *title;

+ (HWCurrencySelectCellModel *)ittemModelWithTitle:(NSString *)title;

@end



